<template>
  <a-slider>
    <template v-for="item in slotKeys.filter(key=>props[key])" #[item]="slotProps">
      <component :is="renderSlot(props,item,slotProps)"/>
    </template>
  </a-slider>
</template>
<script setup lang="ts">
import { PropType, VNode } from 'vue';
import { renderSlot } from '../index'
const slotKeys = ['mark']
const props=defineProps({
  mark: {
    type: [String, Object, Function] as PropType<String | VNode |(()=>VNode | String)>
  },
})
</script>
<style lang="less" scoped>

</style>